package models;

public class Company {
    private int id;
    private String name;
    private int age;
    private String address;
    private double salary;

    public int getId() {
        return id;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "ID:" + this.id + ",Name:" + this.name + ",Age:" + this.age + ",address:" + this.address + ",Salary:"
                + this.salary;
    }

}
